/**
 * Project Name:JingZhenGu
 * File Name:CityList.java
 * Package Name:com.gc.jingzhengu.vo
 * Date:2014-6-17上午11:08:49
 * Copyright (c) 2014, wangyd523@gmail.com All Rights Reserved.
 *
*/

package com.jzg.jcptadmin.data.vo;

import android.os.Parcel;
import android.os.Parcelable;

import com.jzg.jcptadmin.base.BaseObject;

import java.util.ArrayList;

/**
 * ClassName:CityList <br/>
 * Function: 市列表. <br/>
 * Reason:	 TODO ADD REASON. <br/>
 * Date:     2014-6-17 上午11:08:49 <br/>
 * @author   汪渝栋
 * @version  
 * @since    JDK 1.6
 * @see 	 
 */
public class CityList extends BaseObject implements Parcelable
{
	private ArrayList<City> content;

	public ArrayList<City> getContent() {
		return content;
	}

	public void setContent(ArrayList<City> content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "CityList{" +
				"content=" + content +
				'}';
	}


	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		super.writeToParcel(dest, flags);
		dest.writeTypedList(content);
	}

	public CityList() {
	}

	protected CityList(Parcel in) {
		super(in);
		this.content = in.createTypedArrayList(City.CREATOR);
	}

	public static final Creator<CityList> CREATOR = new Creator<CityList>() {
		public CityList createFromParcel(Parcel source) {
			return new CityList(source);
		}

		public CityList[] newArray(int size) {
			return new CityList[size];
		}
	};
}

